#ifndef DCMWATCHER_H
#define DCMWATCHER_H

#include <QObject>
class Dispatch;
class ParseDcm;
class VerifyDcm;

class DcmWatcher : public QObject
{
    Q_OBJECT
public:
    explicit DcmWatcher(QObject *parent = 0);
    ~DcmWatcher();

signals:
    void watchDir();
    void startVerify();
    void startParse();

public slots:
    void startDcmWatch();

private:
    void setupDb();
    void startDeamon();
    void readDirs();

    Dispatch *m_dispatch;
    VerifyDcm *m_verify;
    ParseDcm *m_parse;
};

#endif // DCMWATCHER_H
